libgail: Add deprecation guards
authorBenjamin Otte <otte@redhat.com>
Fri, 3 Oct 2014 13:48:29 +0000 (15:48 +0200)
committerBenjamin Otte <otte@redhat.com>
Fri, 3 Oct 2014 13:51:45 +0000 (15:51 +0200)
libgail-util/gailmisc.c

index 1a10bb724622f7df60065b8d3fe9eab9c813b64c..4746359fc2290b5562e4ef431bf37877f42f74d1 100644 (file)
@@ -456,7 +456,9 @@ gail_misc_get_default_attributes (AtkAttributeSet *attrib_set,
 
   style_context = gtk_widget_get_style_context (widget);
 
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
   gtk_style_context_get_background_color (style_context, 0, &color);
+G_GNUC_END_IGNORE_DEPRECATIONS
   value = g_strdup_printf ("%u,%u,%u",
                            (guint) ceil (color.red * 65536 - color.red),
                            (guint) ceil (color.green * 65536 - color.green),